<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML>
<html>
  <head>
    
    <title>登录</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
	<script type="text/javascript" src="js/jQuery.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	
	<style type="text/css">
		.form1{
			margin-left:auto;
			margin-right:auto;
			width:250px;
		}
		.container{
			margin-top:150px;
		}
	</style>
  </head>
  
  <body>
  	<div class="container">
  	<c:if test="${param.state == '10000'}">
  		<div class="alert alert-block alert-error form1">
            <a href="#" data-dismiss="alert" class="close">×</a>
            <p>账号或密码错误</p>
          </div>
  	</c:if>
  	<c:if test="${param.state == '10001'}">
  		<div class="alert alert-block alert-error form1">
            <a href="#" data-dismiss="alert" class="close">×</a>
            <p>你的账号已被冻结，请联系管理员...</p>
          </div>
  	</c:if>
		<form class="well form1" action="login.jspx?m=login" method="post" >
	        <label>账号</label>
	        <input type="text" name="username" class="span3">
	        <p class="help-block"></p>
	         <label>密码</label>
	        <input type="password" name="password"  class="span3">
	        <p class="help-block"></p>
	        <button class="btn btn-primary" type="submit">登录</button>
     	 </form>
  	</div>
  </body>
</html>
